const env = import.meta.env.MODE || "prod";
const EnvConfig = {
    // 开发环境
    development: {
        // baseApi: "http://localhost:8080/",
        baseApi: "/api",
        mockApi: "https:/apifoxmock.com/m1/4068509-0-default/api",
    },
    // 测试环境
    test: {
        baseApi: "//test.future.com/api",
        mockApi: "https:/apifoxmock.com/m1/4068509-0-default/api",
    },
    //生产环境
    prod: {
        baseApi: "//future.com/api",
        mockApi: "https:/apifoxmock.com/m1/4068509-0-default/api",
    },
};

// 暴露
export default {
    env,   //当前的环境
    ...EnvConfig[env],
    // mock
    mock: false,
};